/*! ---- 审核充值 ---- */
function recharge_review_refuse(e){
	layer.prompt({
		  title: '请输入拒绝原因',
		  formType: 2 //prompt风格，支持0-2
	}, function(remark,index){
		layer.close(index);
		var index = layer.load(1);
		var url="./index.php?s=/admin/Recharge/review.html&id="+e+"&review_type=-1&remark="+remark;
		 $.getJSON(url,'',function(json){
			 if(json.status){
				 layer.msg(json.msg);
			     location.reload();
			 }else{
				 layer.msg(json.msg);
			     layer.close(index);
			 }
		 });
		
	});
}	
function recharge_review_agree(e){
	layer.prompt({
		  title: '请输入备注',
		  formType: 2 //prompt风格，支持0-2
	}, function(remark,index){
		layer.close(index);
		var index = layer.load(1);
		var url="./index.php?s=/admin/recharge/review_json.html&id="+e+"&review_type=1&remark="+remark;
		 $.getJSON(url,'',function(json){
			 if(json.status){
				 layer.msg(json.msg);
			     location.reload();
			 }else{
				 layer.msg(json.msg);
			     layer.close(index);
			 }
		 });
		
	});
}